DISCUSSION
The
ATSUCompareStyles function determines whether the style run attribute, font feature, and font variation values set in two style objects are the same, different, or a subset of one another. It does not consider reference constants or application-defined style run attributes in the comparison. You should call
ATSUCompareStyles to implement style sheets and tables of style runs.